package com.erp.gather.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import com.ruoyi.common.core.web.oldDomain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 店铺欧盟负责人业务对象 erp_seller_store_eu_responsible_person
 *
 * @author erp
 * @date 2023-05-08
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ErpSellerStoreEuResponsiblePersonBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 账号id
     */
    @NotNull(message = "账号id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long sellerId;

    /**
     * 店铺id
     */
    @NotNull(message = "店铺id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long sellerStoreId;

    /**
     * 类目id
     */
    @NotNull(message = "类目id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long categoryId;

    /**
     * 欧盟负责人id
     */
    @NotNull(message = "欧盟负责人id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long msrEuId;

    /**
     * 欧盟负责人
     */
    @NotBlank(message = "欧盟负责人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 当前类目是否可以关联欧盟责任人
     */
    @NotBlank(message = "当前类目是否可以关联欧盟责任人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String support;

    /**
     * 
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String extendA;

    /**
     * 
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String extendB;

    /**
     * 
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String extendC;

    /**
     * 乐观锁
     */
    @NotBlank(message = "乐观锁不能为空", groups = { AddGroup.class, EditGroup.class })
    private String revision;


}
